package com.yunc.user.sys.mapper;

import com.yunc.common.mybatis.SuperMapper;
import com.yunc.user.sys.entity.SysLoginLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 登录日志
 *
 * @author congcong tao
 * @date 2018/11/21 16:25
 */
@Mapper
public interface SysLoginLogMapper extends SuperMapper<SysLoginLog> {

    SysLoginLog getLastLogin(@Param("loginName") String loginName);

    SysLoginLog getLastById(@Param("id") String id);
}
